package com.agrm.rabc.service;

import com.agrm.model.rabc.dto.Perm;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface PermService {
    Page<Perm> findAll(Perm perm, Page<Perm> page);

    Perm findById(Integer id);

    boolean save(Perm perm);

    boolean update(Perm perm);

    int deleteByIds(List<Integer> ids);
}
